﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    <script type="text/javascript">
        var integer = 35;
        var check5 = integer % 5;
        var check7 = integer % 7;
        if ((check5 == 0) && (check7 == 0)) {
            document.writeln("The integer can be divided by 5 and 7 without a remainder.");
        }
        else {
            document.writeln("The integer cannot be divided by 5 and 7 without a remainder.");
        }
    </script>
</body>
</html>
